-
Home
-
ElasticPress
-
3.5.3
-
Code
-
Classes
- Elasticsearch
Total Complexity |
151 |
Dependencies |
2 |
Dependents |
15 |
Total lines |
1,414 |
Lines of code |
578 |
Logical lines of code |
300 |
Comment lines |
598 |
Methods |
32 |
Properties |
3 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_elasticsearch_info() |
B |
38 |
20 |
71 |
remote_request() |
A |
41 |
13 |
51 |
query() |
A |
39 |
12 |
65 |
parse_api_response() |
A |
51 |
8 |
28 |
update_index_settings() |
S |
53 |
7 |
22 |
create_network_alias() |
S |
51 |
6 |
27 |
is_empty_query() |
S |
59 |
6 |
15 |
index_exists() |
S |
58 |
6 |
15 |
create_pipeline() |
S |
54 |
5 |
20 |
get_document() |
S |
55 |
5 |
17 |
get_mapping() |
S |
57 |
5 |
16 |
index_document() |
S |
49 |
4 |
30 |
bulk_index() |
S |
53 |
4 |
21 |
delete_document() |
S |
54 |
4 |
21 |
get_pipeline() |
S |
55 |
4 |
19 |
add_query_log() |
S |
69 |
5 |
6 |
format_request_headers() |
S |
59 |
4 |
14 |
delete_index() |
S |
60 |
4 |
12 |
get_cluster_status() |
S |
56 |
3 |
18 |
put_mapping() |
S |
57 |
3 |
16 |
delete_network_alias() |
S |
62 |
4 |
10 |
refresh_indices() |
S |
62 |
4 |
10 |
close_index() |
S |
64 |
2 |
9 |
open_index() |
S |
64 |
2 |
9 |
get_hits_from_query() |
S |
70 |
2 |
6 |
get_total_hits_from_query() |
S |
71 |
2 |
6 |
factory() |
S |
69 |
2 |
7 |
delete_all_indices() |
S |
80 |
1 |
3 |
get_query_log() |
S |
82 |
1 |
3 |
get_elasticsearch_plugins() |
S |
74 |
1 |
4 |
get_elasticsearch_version() |
S |
74 |
1 |
4 |
parse_site_id() |
S |
78 |
1 |
3 |